ZetaProducer.RuntimeBusinessLogic.Code.Scripting.InterpreterException ----------------- Skript-Fehler: --------------- Datenbank '' konnte nicht geöffnet werden. Entweder wird die Datenbank nicht von Ihrer Anwendung erkannt, oder die Datei ist beschädigt. --------------- Zeile 589, Spalte 13. --------------- Quelltext: 001: option explicit 002: 003: ExecuteScript 004: (...Versteckte Zeilen...) 367: 368: 369: 370: public sub ExecuteScript() 371: 372: 373: dim article 374: set article = Context.Scope.CurrentPageItem 375: dim items 376: set items = Context.Scope.CurrentPage.ScriptingGetPageItems( Context.Scope.Library.VersioningVersion ) 377: 378: dim hassame 379: hassame = false 380: 381: dim i 382: for i=0 to items.Count-1 383: dim item 384: set item = items(i) 385: 386: if item.IsActive and (item.StyleName = "Bilderalbum" or item.StyleName = "Einzelnes Bild") then 387: if item.ID = article.ID and not hassame then 388: 389: 390: Context.Write "" & vbCrLf 391: Context.Write "" & vbCrLf 392: Context.Write "" 393: 394: if IsNothing(Context.Scope.CurrentTemplate.TemplateProject.TextTemplateManager.GetTextTemplate("ThickboxMod")) then 395: 396: Context.Write "" & vbCrLf 397: Context.Write "" & vbCrLf 398: Context.Write "" & vbCrLf 399: Context.Write "" 400: 401: else 402: 403: Context.Write "" & vbCrLf 404: Context.Write "" & vbCrLf 405: Context.Write "" 406: 407: end if 408: 409: Context.Write "" & vbCrLf 410: Context.Write "" & vbCrLf 411: Context.Write "" & vbCrLf 417: Context.Write "" 418: 419: end if 420: hassame = true 421: end if 422: next 423: 424: 425: Context.Write "" & vbCrLf 426: Context.Write "" & vbCrLf 427: Context.Write "" 428: 429: 430: dim albumID : albumID = Context.Scope.CurrentArticle.Values.GetValue("Album") 431: dim thumbnailWidth : thumbnailWidth = Context.Scope.CurrentArticle.Values.GetValue("Breite der Vorschaubilder") 432: dim thumbnailHeight : thumbnailHeight = CInt((thumbnailWidth*3)/4) 433: dim imagesPerRow : imagesPerRow = Context.Scope.CurrentArticle.Values.GetValue("Anzahl Vorschaubilder pro Zeile") 434: dim assetCategory : set assetCategory = Context.Scope.CurrentWebProject.GetAssetCategoryByID( albumID ) 435: dim images : set images = assetCategory.Images 436: dim rowIndex : dim colIndex : dim index 437: dim rowCount : rowCount = images.Count \ imagesPerRow 438: if images.Count mod imagesPerRow > 0 then 439: rowCount = rowCount + 1 440: end if 441: 442: Context.Scope.Library.Log images.Count & " images..." 443: Context.Scope.Library.CheckAsyncStopProcessing 444: 445: ' Must use a prefix to allow multiple instances of the JavaScript on the page. 446: dim prefix 447: prefix = "prefix_1037_" 448: 449: 450: Context.Write "" & vbCrLf 451: Context.Write "" & vbCrLf 456: Context.Write "
" & vbCrLf 457: Context.Write "" 458: 459: if Context.Scope.CurrentArticle.Name <> "" then 460: 461: Context.Write "

" 462: 463: Context.Write Context.Scope.CurrentArticle.Name 464: 465: Context.Write "

" 466: 467: end if 468: 469: Context.Write "" & vbCrLf 470: Context.Write "" & vbCrLf 565: Context.Write "" & vbCrLf 566: Context.Write "" 567: 568: 569: ' -- Build the thumbnails grid. 570: index = 0 571: for rowIndex = 0 to rowCount-1 572: 573: 574: Context.Write "" & vbCrLf 575: Context.Write "" & vbCrLf 576: Context.Write " " 577: 578: 579: for colIndex = 0 to imagesPerRow-1 580: 581: 582: Context.Write "" & vbCrLf 583: Context.Write " " 584: 585: 586: if index<=images.Count-1 then 587: set image = images.Item(index) 588: 589: if image.CheckCreateThumbnail( thumbnailWidth ) then 590: Context.Scope.Library.Log "Erstelle Vorschaubild " & image.Name 591: else 592: Context.Scope.Library.CheckAsyncStopProcessing 593: end if 594: 595: 596: Context.Write "" & vbCrLf 597: Context.Write " " & vbCrLf 689: Context.Write " " 690: 691: else 692: 693: Context.Write "" & vbCrLf 694: Context.Write " " & vbCrLf 695: Context.Write " " 696: 697: end if 698: 699: Context.Write "" & vbCrLf 700: Context.Write " " 701: 702: 703: index = index + 1 704: next 705: 706: 707: Context.Write "" & vbCrLf 708: Context.Write "" & vbCrLf 709: Context.Write "" 710: 711: next 712: 713: Context.Write "" & vbCrLf 714: Context.Write "
" & vbCrLf 598: Context.Write " " & vbTab & "" & vbCrLf 611: Context.Write " " & vbTab & "" & vbTab & "" & vbCrLf 620: Context.Write " " & vbTab & "" & vbTab & "" & vbTab & "" & vbCrLf 625: Context.Write " " & vbTab & "" & vbTab & "" & vbCrLf 626: Context.Write " " & vbTab & "" & vbCrLf 627: Context.Write " " 628: 629: if Context.Scope.CurrentArticle.Values.GetValue("Bildname anzeigen") = 1 OR Context.Scope.CurrentArticle.Values.GetValue("Bilder nummerieren") = 1 OR Context.Scope.CurrentArticle.Values.GetValue("Bildbeschreibung anzeigen") = 1 then 630: 631: Context.Write "" & vbCrLf 632: Context.Write " " & vbTab & "" & vbCrLf 633: Context.Write "" & vbTab & "" & vbTab & "" & vbTab & "" & vbTab & "" & vbTab & "" & vbTab & "" 634: 635: if Context.Scope.CurrentArticle.Values.GetValue("Bilder nummerieren") = 1 then 636: 637: Context.Write "" 638: 639: Context.Write index+1 640: 641: Context.Write "" 642: 643: end if 644: 645: Context.Write "" & vbCrLf 646: Context.Write "" & vbTab & "" & vbTab & "" & vbTab & "" & vbTab & "" & vbTab & "" & vbTab & "" 647: 648: if Context.Scope.CurrentArticle.Values.GetValue("Bildname anzeigen") = 1 then 649: 650: Context.Write "" 651: 652: Context.Write image.Name 653: 654: Context.Write "" 655: 656: end if 657: 658: Context.Write "" & vbCrLf 659: Context.Write "" & vbTab & "" & vbTab & "" & vbTab & "" & vbTab & "" & vbTab & "" & vbTab & "" 660: 661: if Context.Scope.CurrentArticle.Values.GetValue("Bildbeschreibung anzeigen") = 1 then 662: 663: Context.Write "" & vbCrLf 664: Context.Write "" & vbTab & "" & vbTab & "" & vbTab & "" & vbTab & "" & vbTab & "" & vbTab & "" & vbTab & "" 665: 666: if Context.Scope.CurrentArticle.Values.GetValue("Bildname anzeigen") = 1 then 667: 668: Context.Write "
" 669: 670: end if 671: 672: Context.Write "" 673: 674: Context.Write image.Description 675: 676: Context.Write "" & vbCrLf 677: Context.Write "" & vbTab & "" & vbTab & "" & vbTab & "" & vbTab & "" & vbTab & "" & vbTab & "" 678: 679: end if 680: 681: Context.Write "" & vbCrLf 682: Context.Write " " & vbTab & "
" & vbCrLf 683: Context.Write " " 684: 685: end if 686: 687: Context.Write "" & vbCrLf 688: Context.Write "
 
" & vbCrLf 715: Context.Write "
" & vbCrLf 716: Context.Write "" 717: 718: end sub 719: ----------------- bei ZetaProducer.RuntimeBusinessLogic.Code.Scripting.BaseInterpreter.Run() bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Core.RenderInterpreter.OnRenderArticle(String text, RenderGrid grid) bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Grids.RenderAreaGrid.FormatGridItem() bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Grids.RenderGrid.Render() bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Grids.RenderAreaGrid.Render() bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Macros.RenderGridMacros.DoProcess(String textToProcess) bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Macros.RenderMacrosBase.Process(String textToProcess) bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Core.RenderDispatcher.doProcess(String textToProcess) bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Rss.RssGenerator.renderArticle(IWorkflowEnabledItem article) bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Rss.RssGenerator.buildArticleFullText(WebPageItem article) bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Rss.RssGenerator.getFullText(WebPageItem article) bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Rss.RssGenerator.generateRssDocument() bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Rss.RssGenerator.CreateRss() bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Core.RenderEngine.createRss(WebPage page, VersioningVersion versioningVersion, TemplateProject templateProject) bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Core.RenderEngine.Process(RenderEngineParameterInfo parameterInfo) bei ZetaProducer.Main.UI.BuildPublish.Simple.SimpleBuildPublishForm.doWorkBuild(Object sender, DoWorkEventArgs e) bei ZetaProducer.Main.UI.BuildPublish.Common.AsyncRenderGuiBinder._bw_DoWork(Object sender, DoWorkEventArgs e) bei System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) bei System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument) InterpreterException { Message="Skript-Fehler:\\r\\n---------------\\t\\t\\t \\r\\nDatenbank \\'\\' konnte nicht geöffnet werden. Entweder wird die Datenbank nicht von Ihrer Anwendung erkannt, oder die Datei ist beschädigt.\\r\\n---------------\\t\\t\\t \\r\\nZeile 589, Spalte 13.\\r\\n---------------\\t\\t\\t \\r\\nQuelltext: \\r\\n001: option explicit\\r\\n002: \\r\\n003: ExecuteScript\\r\\n004: \\r\\n(...Versteckte Zeilen...)\\r\\n367: \\r\\n368: \\r\\n369: \\r\\n370: public sub ExecuteScript()\\r\\n371: \\r\\n372: \\r\\n373: dim article\\r\\n374: set article = Context.Scope.CurrentPageItem\\r\\n375: dim items\\r\\n376: set items = Context.Scope.CurrentPage.ScriptingGetPageItems( Context.Scope.Library.VersioningVersion )\\r\\n377: \\r\\n378: dim hassame\\r\\n379: hassame = false\\r\\n380: \\r\\n381: dim i\\r\\n382: for i=0 to items.Count-1\\r\\n383: dim item\\r\\n384: set item = items(i)\\r\\n385: \\r\\n386: if item.IsActive and (item.StyleName = \\"Bilderalbum\\" or item.StyleName = \\"Einzelnes Bild\\") then\\r\\n387: \\tif item.ID = article.ID and not hassame then\\r\\n388: \\r\\n389: \\r\\n390: Context.Write \\"\\" & vbCrLf\\r\\n391: Context.Write \\"\\" & vbCrLf\\r\\n392: Context.Write \\"\\"\\r\\n393: \\r\\n394: if IsNothing(Context.Scope.CurrentTemplate.TemplateProject.TextTemplateManager.GetTextTemplate(\\"ThickboxMod\\")) then\\r\\n395: \\r\\n396: Context.Write \\"\\" & vbCrLf\\r\\n397: Context.Write \\"\\" & vbCrLf\\r\\n398: Context.Write \\"\\" & vbCrLf\\r\\n399: Context.Write \\"\\"\\r\\n400: \\r\\n401: else \\r\\n402: \\r\\n403: Context.Write \\"\\" & vbCrLf\\r\\n404: Context.Write \\"\\" & vbCrLf\\r\\n405: Context.Write \\"\\"\\r\\n406: \\r\\n407: end if \\r\\n408: \\r\\n409: Context.Write \\"\\" & vbCrLf\\r\\n410: Context.Write \\"\\" & vbCrLf\\r\\n411: Context.Write \\"\\" & vbCrLf\\r\\n417: Context.Write \\"\\"\\r\\n418: \\r\\n419: \\tend if\\r\\n420: hassame = true\\r\\n421: end if\\r\\n422: next\\r\\n423: \\r\\n424: \\r\\n425: Context.Write \\"\\" & vbCrLf\\r\\n426: Context.Write \\"\\" & vbCrLf\\r\\n427: Context.Write \\"\\"\\r\\n428: \\r\\n429: \\r\\n430: dim albumID : albumID = Context.Scope.CurrentArticle.Values.GetValue(\\"Album\\")\\r\\n431: dim thumbnailWidth : thumbnailWidth = Context.Scope.CurrentArticle.Values.GetValue(\\"Breite der Vorschaubilder\\")\\r\\n432: dim thumbnailHeight : thumbnailHeight = CInt((thumbnailWidth*3)/4)\\r\\n433: dim imagesPerRow : imagesPerRow = Context.Scope.CurrentArticle.Values.GetValue(\\"Anzahl Vorschaubilder pro Zeile\\")\\r\\n434: dim assetCategory : set assetCategory = Context.Scope.CurrentWebProject.GetAssetCategoryByID( albumID )\\r\\n435: dim images : set images = assetCategory.Images \\r\\n436: dim rowIndex : dim colIndex : dim index\\r\\n437: dim rowCount : rowCount = images.Count \\ imagesPerRow\\r\\n438: if images.Count mod imagesPerRow > 0 then \\r\\n439: rowCount = rowCount + 1\\r\\n440: end if\\r\\n441: \\r\\n442: Context.Scope.Library.Log images.Count & \\" images...\\"\\r\\n443: Context.Scope.Library.CheckAsyncStopProcessing\\r\\n444: \\r\\n445: \\' Must use a prefix to allow multiple instances of the JavaScript on the page.\\r\\n446: dim prefix\\r\\n447: prefix = \\"prefix_1037_\\"\\r\\n448: \\r\\n449: \\r\\n450: Context.Write \\"\\" & vbCrLf\\r\\n451: Context.Write \\"\\" & vbCrLf\\r\\n456: Context.Write \\"
\\" & vbCrLf\\r\\n457: Context.Write \\"\\"\\r\\n458: \\r\\n459: if Context.Scope.CurrentArticle.Name <> \\"\\" then \\r\\n460: \\r\\n461: Context.Write \\"

\\"\\r\\n462: \\r\\n463: Context.Write Context.Scope.CurrentArticle.Name\\r\\n464: \\r\\n465: Context.Write \\"

\\"\\r\\n466: \\r\\n467: end if \\r\\n468: \\r\\n469: Context.Write \\"\\" & vbCrLf\\r\\n470: Context.Write \\"\\" & vbCrLf\\r\\n565: Context.Write \\"\\" & vbCrLf\\r\\n566: Context.Write \\"\\"\\r\\n567: \\r\\n568: \\r\\n569: \\' -- Build the thumbnails grid.\\r\\n570: index = 0\\r\\n571: for rowIndex = 0 to rowCount-1\\r\\n572: \\r\\n573: \\r\\n574: Context.Write \\"\\" & vbCrLf\\r\\n575: Context.Write \\"\\" & vbCrLf\\r\\n576: Context.Write \\" \\"\\r\\n577: \\r\\n578: \\r\\n579: for colIndex = 0 to imagesPerRow-1\\r\\n580: \\r\\n581: \\r\\n582: Context.Write \\"\\" & vbCrLf\\r\\n583: Context.Write \\" \\"\\r\\n584: \\r\\n585: \\r\\n586: if index<=images.Count-1 then\\r\\n587: set image = images.Item(index)\\r\\n588: \\t\\t\\t\\t\\t\\r\\n589: if image.CheckCreateThumbnail( thumbnailWidth ) then\\r\\n590: Context.Scope.Library.Log \\"Erstelle Vorschaubild \\" & image.Name\\r\\n591: else\\r\\n592: Context.Scope.Library.CheckAsyncStopProcessing\\r\\n593: end if\\r\\n594: \\r\\n595: \\r\\n596: Context.Write \\"\\" & vbCrLf\\r\\n597: Context.Write \\" \\" & vbCrLf\\r\\n689: Context.Write \\" \\"\\r\\n690: \\r\\n691: else\\r\\n692: \\r\\n693: Context.Write \\"\\" & vbCrLf\\r\\n694: Context.Write \\" \\" & vbCrLf\\r\\n695: Context.Write \\" \\"\\r\\n696: \\r\\n697: end if\\r\\n698: \\r\\n699: Context.Write \\"\\" & vbCrLf\\r\\n700: Context.Write \\" \\"\\r\\n701: \\r\\n702: \\r\\n703: index = index + 1\\r\\n704: next\\r\\n705: \\r\\n706: \\r\\n707: Context.Write \\"\\" & vbCrLf\\r\\n708: Context.Write \\"\\" & vbCrLf\\r\\n709: Context.Write \\"\\"\\r\\n710: \\r\\n711: next\\r\\n712: \\r\\n713: Context.Write \\"\\" & vbCrLf\\r\\n714: Context.Write \\"
\\" & vbCrLf\\r\\n598: Context.Write \\" \\" & vbTab & \\"\\" & vbCrLf\\r\\n611: Context.Write \\" \\" & vbTab & \\"\\" & vbTab & \\"\\" & vbCrLf\\r\\n620: Context.Write \\" \\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\"\\"\\"\\"\\" & vbCrLf\\r\\n625: Context.Write \\" \\" & vbTab & \\"\\" & vbTab & \\"\\" & vbCrLf\\r\\n626: Context.Write \\" \\" & vbTab & \\"\\" & vbCrLf\\r\\n627: Context.Write \\" \\"\\r\\n628: \\r\\n629: if Context.Scope.CurrentArticle.Values.GetValue(\\"Bildname anzeigen\\") = 1 OR Context.Scope.CurrentArticle.Values.GetValue(\\"Bilder nummerieren\\") = 1 OR Context.Scope.CurrentArticle.Values.GetValue(\\"Bildbeschreibung anzeigen\\") = 1 then \\r\\n630: \\r\\n631: Context.Write \\"\\" & vbCrLf\\r\\n632: Context.Write \\" \\" & vbTab & \\"\\" & vbCrLf\\r\\n633: Context.Write \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\"\\r\\n634: \\r\\n635: if Context.Scope.CurrentArticle.Values.GetValue(\\"Bilder nummerieren\\") = 1 then \\r\\n636: \\r\\n637: Context.Write \\"\\"\\r\\n638: \\r\\n639: Context.Write index+1\\r\\n640: \\r\\n641: Context.Write \\"\\"\\r\\n642: \\r\\n643: end if \\r\\n644: \\r\\n645: Context.Write \\"\\" & vbCrLf\\r\\n646: Context.Write \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\"\\r\\n647: \\r\\n648: if Context.Scope.CurrentArticle.Values.GetValue(\\"Bildname anzeigen\\") = 1 then \\r\\n649: \\r\\n650: Context.Write \\"\\"\\r\\n651: \\r\\n652: Context.Write image.Name\\r\\n653: \\r\\n654: Context.Write \\"\\"\\r\\n655: \\r\\n656: end if \\r\\n657: \\r\\n658: Context.Write \\"\\" & vbCrLf\\r\\n659: Context.Write \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\"\\r\\n660: \\r\\n661: if Context.Scope.CurrentArticle.Values.GetValue(\\"Bildbeschreibung anzeigen\\") = 1 then \\r\\n662: \\r\\n663: Context.Write \\"\\" & vbCrLf\\r\\n664: Context.Write \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\"\\r\\n665: \\r\\n666: if Context.Scope.CurrentArticle.Values.GetValue(\\"Bildname anzeigen\\") = 1 then \\r\\n667: \\r\\n668: Context.Write \\"
\\"\\r\\n669: \\r\\n670: end if \\r\\n671: \\r\\n672: Context.Write \\"\\"\\r\\n673: \\r\\n674: Context.Write image.Description\\r\\n675: \\r\\n676: Context.Write \\"\\" & vbCrLf\\r\\n677: Context.Write \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\"\\r\\n678: \\r\\n679: end if \\r\\n680: \\r\\n681: Context.Write \\"\\" & vbCrLf\\r\\n682: Context.Write \\" \\" & vbTab & \\"
\\" & vbCrLf\\r\\n683: Context.Write \\" \\"\\r\\n684: \\r\\n685: end if \\r\\n686: \\r\\n687: Context.Write \\"\\" & vbCrLf\\r\\n688: Context.Write \\"
 
\\" & vbCrLf\\r\\n715: Context.Write \\"
\\" & vbCrLf\\r\\n716: Context.Write \\"\\"\\r\\n717: \\r\\n718: end sub\\r\\n719: \\r\\n", CompleteSourceText="001: option explicit\\r\\n002: \\r\\n003: ExecuteScript\\r\\n004: \\r\\n(...Versteckte Zeilen...)\\r\\n367: \\r\\n368: \\r\\n369: \\r\\n370: public sub ExecuteScript()\\r\\n371: \\r\\n372: \\r\\n373: dim article\\r\\n374: set article = Context.Scope.CurrentPageItem\\r\\n375: dim items\\r\\n376: set items = Context.Scope.CurrentPage.ScriptingGetPageItems( Context.Scope.Library.VersioningVersion )\\r\\n377: \\r\\n378: dim hassame\\r\\n379: hassame = false\\r\\n380: \\r\\n381: dim i\\r\\n382: for i=0 to items.Count-1\\r\\n383: dim item\\r\\n384: set item = items(i)\\r\\n385: \\r\\n386: if item.IsActive and (item.StyleName = \\"Bilderalbum\\" or item.StyleName = \\"Einzelnes Bild\\") then\\r\\n387: \\tif item.ID = article.ID and not hassame then\\r\\n388: \\r\\n389: \\r\\n390: Context.Write \\"\\" & vbCrLf\\r\\n391: Context.Write \\"\\" & vbCrLf\\r\\n392: Context.Write \\"\\"\\r\\n393: \\r\\n394: if IsNothing(Context.Scope.CurrentTemplate.TemplateProject.TextTemplateManager.GetTextTemplate(\\"ThickboxMod\\")) then\\r\\n395: \\r\\n396: Context.Write \\"\\" & vbCrLf\\r\\n397: Context.Write \\"\\" & vbCrLf\\r\\n398: Context.Write \\"\\" & vbCrLf\\r\\n399: Context.Write \\"\\"\\r\\n400: \\r\\n401: else \\r\\n402: \\r\\n403: Context.Write \\"\\" & vbCrLf\\r\\n404: Context.Write \\"\\" & vbCrLf\\r\\n405: Context.Write \\"\\"\\r\\n406: \\r\\n407: end if \\r\\n408: \\r\\n409: Context.Write \\"\\" & vbCrLf\\r\\n410: Context.Write \\"\\" & vbCrLf\\r\\n411: Context.Write \\"\\" & vbCrLf\\r\\n417: Context.Write \\"\\"\\r\\n418: \\r\\n419: \\tend if\\r\\n420: hassame = true\\r\\n421: end if\\r\\n422: next\\r\\n423: \\r\\n424: \\r\\n425: Context.Write \\"\\" & vbCrLf\\r\\n426: Context.Write \\"\\" & vbCrLf\\r\\n427: Context.Write \\"\\"\\r\\n428: \\r\\n429: \\r\\n430: dim albumID : albumID = Context.Scope.CurrentArticle.Values.GetValue(\\"Album\\")\\r\\n431: dim thumbnailWidth : thumbnailWidth = Context.Scope.CurrentArticle.Values.GetValue(\\"Breite der Vorschaubilder\\")\\r\\n432: dim thumbnailHeight : thumbnailHeight = CInt((thumbnailWidth*3)/4)\\r\\n433: dim imagesPerRow : imagesPerRow = Context.Scope.CurrentArticle.Values.GetValue(\\"Anzahl Vorschaubilder pro Zeile\\")\\r\\n434: dim assetCategory : set assetCategory = Context.Scope.CurrentWebProject.GetAssetCategoryByID( albumID )\\r\\n435: dim images : set images = assetCategory.Images \\r\\n436: dim rowIndex : dim colIndex : dim index\\r\\n437: dim rowCount : rowCount = images.Count \\ imagesPerRow\\r\\n438: if images.Count mod imagesPerRow > 0 then \\r\\n439: rowCount = rowCount + 1\\r\\n440: end if\\r\\n441: \\r\\n442: Context.Scope.Library.Log images.Count & \\" images...\\"\\r\\n443: Context.Scope.Library.CheckAsyncStopProcessing\\r\\n444: \\r\\n445: \\' Must use a prefix to allow multiple instances of the JavaScript on the page.\\r\\n446: dim prefix\\r\\n447: prefix = \\"prefix_1037_\\"\\r\\n448: \\r\\n449: \\r\\n450: Context.Write \\"\\" & vbCrLf\\r\\n451: Context.Write \\"\\" & vbCrLf\\r\\n456: Context.Write \\"
\\" & vbCrLf\\r\\n457: Context.Write \\"\\"\\r\\n458: \\r\\n459: if Context.Scope.CurrentArticle.Name <> \\"\\" then \\r\\n460: \\r\\n461: Context.Write \\"

\\"\\r\\n462: \\r\\n463: Context.Write Context.Scope.CurrentArticle.Name\\r\\n464: \\r\\n465: Context.Write \\"

\\"\\r\\n466: \\r\\n467: end if \\r\\n468: \\r\\n469: Context.Write \\"\\" & vbCrLf\\r\\n470: Context.Write \\"\\" & vbCrLf\\r\\n565: Context.Write \\"\\" & vbCrLf\\r\\n566: Context.Write \\"\\"\\r\\n567: \\r\\n568: \\r\\n569: \\' -- Build the thumbnails grid.\\r\\n570: index = 0\\r\\n571: for rowIndex = 0 to rowCount-1\\r\\n572: \\r\\n573: \\r\\n574: Context.Write \\"\\" & vbCrLf\\r\\n575: Context.Write \\"\\" & vbCrLf\\r\\n576: Context.Write \\" \\"\\r\\n577: \\r\\n578: \\r\\n579: for colIndex = 0 to imagesPerRow-1\\r\\n580: \\r\\n581: \\r\\n582: Context.Write \\"\\" & vbCrLf\\r\\n583: Context.Write \\" \\"\\r\\n584: \\r\\n585: \\r\\n586: if index<=images.Count-1 then\\r\\n587: set image = images.Item(index)\\r\\n588: \\t\\t\\t\\t\\t\\r\\n589: if image.CheckCreateThumbnail( thumbnailWidth ) then\\r\\n590: Context.Scope.Library.Log \\"Erstelle Vorschaubild \\" & image.Name\\r\\n591: else\\r\\n592: Context.Scope.Library.CheckAsyncStopProcessing\\r\\n593: end if\\r\\n594: \\r\\n595: \\r\\n596: Context.Write \\"\\" & vbCrLf\\r\\n597: Context.Write \\" \\" & vbCrLf\\r\\n689: Context.Write \\" \\"\\r\\n690: \\r\\n691: else\\r\\n692: \\r\\n693: Context.Write \\"\\" & vbCrLf\\r\\n694: Context.Write \\" \\" & vbCrLf\\r\\n695: Context.Write \\" \\"\\r\\n696: \\r\\n697: end if\\r\\n698: \\r\\n699: Context.Write \\"\\" & vbCrLf\\r\\n700: Context.Write \\" \\"\\r\\n701: \\r\\n702: \\r\\n703: index = index + 1\\r\\n704: next\\r\\n705: \\r\\n706: \\r\\n707: Context.Write \\"\\" & vbCrLf\\r\\n708: Context.Write \\"\\" & vbCrLf\\r\\n709: Context.Write \\"\\"\\r\\n710: \\r\\n711: next\\r\\n712: \\r\\n713: Context.Write \\"\\" & vbCrLf\\r\\n714: Context.Write \\"
\\" & vbCrLf\\r\\n598: Context.Write \\" \\" & vbTab & \\"\\" & vbCrLf\\r\\n611: Context.Write \\" \\" & vbTab & \\"\\" & vbTab & \\"\\" & vbCrLf\\r\\n620: Context.Write \\" \\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\"\\"\\"\\"\\" & vbCrLf\\r\\n625: Context.Write \\" \\" & vbTab & \\"\\" & vbTab & \\"\\" & vbCrLf\\r\\n626: Context.Write \\" \\" & vbTab & \\"\\" & vbCrLf\\r\\n627: Context.Write \\" \\"\\r\\n628: \\r\\n629: if Context.Scope.CurrentArticle.Values.GetValue(\\"Bildname anzeigen\\") = 1 OR Context.Scope.CurrentArticle.Values.GetValue(\\"Bilder nummerieren\\") = 1 OR Context.Scope.CurrentArticle.Values.GetValue(\\"Bildbeschreibung anzeigen\\") = 1 then \\r\\n630: \\r\\n631: Context.Write \\"\\" & vbCrLf\\r\\n632: Context.Write \\" \\" & vbTab & \\"\\" & vbCrLf\\r\\n633: Context.Write \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\"\\r\\n634: \\r\\n635: if Context.Scope.CurrentArticle.Values.GetValue(\\"Bilder nummerieren\\") = 1 then \\r\\n636: \\r\\n637: Context.Write \\"\\"\\r\\n638: \\r\\n639: Context.Write index+1\\r\\n640: \\r\\n641: Context.Write \\"\\"\\r\\n642: \\r\\n643: end if \\r\\n644: \\r\\n645: Context.Write \\"\\" & vbCrLf\\r\\n646: Context.Write \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\"\\r\\n647: \\r\\n648: if Context.Scope.CurrentArticle.Values.GetValue(\\"Bildname anzeigen\\") = 1 then \\r\\n649: \\r\\n650: Context.Write \\"\\"\\r\\n651: \\r\\n652: Context.Write image.Name\\r\\n653: \\r\\n654: Context.Write \\"\\"\\r\\n655: \\r\\n656: end if \\r\\n657: \\r\\n658: Context.Write \\"\\" & vbCrLf\\r\\n659: Context.Write \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\"\\r\\n660: \\r\\n661: if Context.Scope.CurrentArticle.Values.GetValue(\\"Bildbeschreibung anzeigen\\") = 1 then \\r\\n662: \\r\\n663: Context.Write \\"\\" & vbCrLf\\r\\n664: Context.Write \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\"\\r\\n665: \\r\\n666: if Context.Scope.CurrentArticle.Values.GetValue(\\"Bildname anzeigen\\") = 1 then \\r\\n667: \\r\\n668: Context.Write \\"
\\"\\r\\n669: \\r\\n670: end if \\r\\n671: \\r\\n672: Context.Write \\"\\"\\r\\n673: \\r\\n674: Context.Write image.Description\\r\\n675: \\r\\n676: Context.Write \\"\\" & vbCrLf\\r\\n677: Context.Write \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\" & vbTab & \\"\\"\\r\\n678: \\r\\n679: end if \\r\\n680: \\r\\n681: Context.Write \\"\\" & vbCrLf\\r\\n682: Context.Write \\" \\" & vbTab & \\"
\\" & vbCrLf\\r\\n683: Context.Write \\" \\"\\r\\n684: \\r\\n685: end if \\r\\n686: \\r\\n687: Context.Write \\"\\" & vbCrLf\\r\\n688: Context.Write \\"
 
\\" & vbCrLf\\r\\n715: Context.Write \\"
\\" & vbCrLf\\r\\n716: Context.Write \\"\\"\\r\\n717: \\r\\n718: end sub\\r\\n719: \\r\\n", ExcepInfo=EXCEPINFO { }, LineNumber=588, ColumnNumber=12, SourceLine="", SourceContext=0, Description="Datenbank \\'\\' konnte nicht geöffnet werden. Entweder wird die Datenbank nicht von Ihrer Anwendung erkannt, oder die Datei ist beschädigt.", Data= [ ] , InnerException=null, TargetSite=RuntimeMethodInfo: Run, StackTrace=" bei ZetaProducer.RuntimeBusinessLogic.Code.Scripting.BaseInterpreter.Run()\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Core.RenderInterpreter.OnRenderArticle(String text, RenderGrid grid)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Grids.RenderAreaGrid.FormatGridItem()\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Grids.RenderGrid.Render()\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Grids.RenderAreaGrid.Render()\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Macros.RenderGridMacros.DoProcess(String textToProcess)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Macros.RenderMacrosBase.Process(String textToProcess)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Core.RenderDispatcher.doProcess(String textToProcess)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Rss.RssGenerator.renderArticle(IWorkflowEnabledItem article)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Rss.RssGenerator.buildArticleFullText(WebPageItem article)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Rss.RssGenerator.getFullText(WebPageItem article)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Rss.RssGenerator.generateRssDocument()\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Rss.RssGenerator.CreateRss()\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Core.RenderEngine.createRss(WebPage page, VersioningVersion versioningVersion, TemplateProject templateProject)\\r\\n bei ZetaProducer.RuntimeBusinessLogic.Code.Rendering.Core.RenderEngine.Process(RenderEngineParameterInfo parameterInfo)\\r\\n bei ZetaProducer.Main.UI.BuildPublish.Simple.SimpleBuildPublishForm.doWorkBuild(Object sender, DoWorkEventArgs e)\\r\\n bei ZetaProducer.Main.UI.BuildPublish.Common.AsyncRenderGuiBinder._bw_DoWork(Object sender, DoWorkEventArgs e)\\r\\n bei System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)\\r\\n bei System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)", HelpLink=null, Source="ActiveScriptSite.ScriptError" }